package com.atguigu.gulimall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "thread.pool.config")
@Component
@Data
public class ThreadPoolProperties {
    private int coreSize;
    private int maximumSize ;
    private  Long keepAliveTime;
    private int blockQueueSize;
}
